Write-Host "正在启动算法项目..." -ForegroundColor Green
$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location "$scriptPath\suanfa"
& .\venv\Scripts\Activate.ps1
python run.py
Read-Host -Prompt "按回车键退出" 